package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>
 *
 * </p>
 *
 * @author whx
 * @since 2025-03-08
 */
@Entity
@Table(name = "BAC_EXPERIMENT")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "BAC_EXPERIMENT", autoResultMap = true)
public class BacExperiment extends BaseEntityJpa {

    private static final long serialVersionUID = 1L;

    /**
     * 编码
     */
    @Column(name = "EXPERIMENT_NO")
    @TableField("EXPERIMENT_NO")
    private String code;

    /**
     * 名称
     */
    @Column(name = "EXPERIMENT_NA")
    @TableField("EXPERIMENT_NA")
    private String name;

    /**
     * 输入码
     */
    @Column(name = "INPUT_CODE")
    @TableField("INPUT_CODE")
    private String inputCode;

    /**
     * 排序码
     */
    @Column(name = "SEQ")
    @TableField("SEQ")
    private Integer seq;

}
